#ifndef ACTIONGETITEM_H_
#define ACTIONGETITEM_H_

#include "Action.h"
#include "Memory.h"

class ActionGetItem: virtual public Action
{
	protected:
    Entity * executer__;
    irr::core::string<c8> type__ ;          
	std::pair<Entity*,Memory::meminfo_t> p_target__ ;
	bool cancel__;
	public:
	ActionGetItem(irr::core::string<c8> type);
	virtual ~ActionGetItem();

	virtual bool execute(Entity* executer);
	
	virtual bool checkConditions() ;
};

#endif

